<?
session_start();
include('conn.php');

$qry1 = "SELECT * from usermast where status=0 order by id desc";

$qry = mysql_query($qry1);
$data = array();
$i=1;
while($rows = mysql_fetch_array($qry))
{
	$data[] = array("Sr_NO" => $i++,
				    "user_id" => $rows['user_id'],
                    "user_name" => $rows['user_name'],
					"email_id" => $rows['email_id'],
                    "usergroup" => $rows['usergroup'],
                    "created_by" => $rows['created_by'],);
					}
echo json_encode($data);
?>

